class CreateBlogs < ActiveRecord::Migration
  def self.up
    create_table :blogs, :force => true do |t|
      t.string :title
      t.string :signature

      t.timestamps
    end

    init_blog = Blog.new(:title => "Leelay's", :signature => "to be with you")
    init_blog.save!
  end

  def self.down
    drop_table :blogs
  end
end
